Gets a value indicating whether the file exists in the package.
Parent Type: FileSystemPackageReader
Namespace: Microsoft.LearningComponents
Assembly: Microsoft.LearningComponents.dll
| C# |
|
public override bool FileExists ( ) |
filePath
The package-relative path to the file. This path should have no URL encoding.
true if the file exists and the caller has permission to access it; otherwise false.
| Name | Description |
| System.Security.Permissions.FileIOPermission | for reading files. Associated enumeration: System.Security.Permissions.FileIOPermissionAccess.Read. |
filePath is a relative path to the packageBasePath parameter of the FileSystemPackageReader constructor.